package com.zatech.cgnci.project.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zatech.cgnci.project.dto.CgnciReInsuranceCompanyQueryDTO;
import com.zatech.cgnci.project.entity.CgnciReInsuranceCompanyDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zatech.cgnci.project.vo.CgnciReInsuranceCompanyPageVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 再保公司表 Mapper 接口
 * </p>
 *
 * @author Generator
 * @since 2024-12-17
 */
@Mapper
public interface CgnciReInsuranceCompanyMapper extends BaseMapper<CgnciReInsuranceCompanyDO> {

    IPage<CgnciReInsuranceCompanyPageVO> pageInsuranceCompany(@Param("page") Page page, @Param("dto") CgnciReInsuranceCompanyQueryDTO dto);

    List<CgnciReInsuranceCompanyDO> getFirstReminderReinsurer();
    
    List<CgnciReInsuranceCompanyDO> getSecondReminderReinsurer();
}
